#ifndef _CAREA_H_
	#define _CAREA_H_

#include"CMapp.h"
#include"CSettings.h"

class CArea
{
public:
	int AreaSize;
	SDL_Surface* Surf_Tileset;
public:

	static CArea AreaControl;
	std::vector<CMapp> MapList;

	CArea(void);
	CArea(int size);

	bool OnLoad(char* File);
	void OnRender(SDL_Surface* Surf_Display, int CameraX, int CameraY);
	void OnCleanup();

	CMapp* GetMap(int X, int Y);
	CTile* GetTile(int X, int Y);

};

#endif